package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.Template;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository("TemplateMapper")
public interface TemplateMapper {
    Template selectByTemplateCode(@Param("templateCode")String templateCode);

    List<Template> listTemplateByTemplateFile(@Param("templateFile")String templateFile);
}
